package HomeWorkOOday01;

public class car {
    String brand;
    String color;
    double price;

    void start() {
        System.out.println(brand+"牌的"+color+"色的"+price+"元的车启动了.......");
    }
    void run(){
        System.out.println(brand+"牌的"+color+"色的"+price+"元的车跑起来了.......");
    }
    void stop(){
        System.out.println(brand+"牌的"+color+"色的"+price+"元的车停下来了.......");

    }
    car(){

    }
    car(String brand,String color,double price){
        this.brand=brand;
        this.color=color;
        this.price=price;
    }
}
